package utils 
{
	/**
	 * ...
	 * @author gcxk721
	 */
	public class ArrayUtil 
	{
		
		public function ArrayUtil() 
		{
			
		}
		
		public static function removeItem(array : Array,  value : Object) : Boolean
        {
            var len : int = array.length;
            var index : int = 0;
            while (index < len)
            {
                
                if (array[index] == value)
                {
                    array.splice(index, 1);
                    return true;
                }
                index++;
            }
            return false;
        }
		
	}

}